<template>
	<view class="content">
		<!-- <view class="title">隐私协议</view> -->
		<view class="center">
			<u-parse :content="txt"></u-parse>
		</view>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				txt:'',
			}
		},onLoad() {
			let _this = this;
			_this.getdata();
		},
		methods: {
			getdata(){
				let _this = this;
				httpRequest.request('/api/index/getConfigInfo','GET',{
				}).then(res => {
					if(res.code == 1){
						_this.txt = res.data.user_yszc;
					}
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.content{
		padding: 0 30rpx;
		overflow: hidden;
	}
	.title{
		padding-top: 60rpx;
		color: #666666;
		font-size: 32rpx;
		text-align: center;
	}
	.center{
		margin-top: 30rpx;
	}
</style>
